package ledrpt
/**
 * 订单完成情况
 */

class OrderCompletion {
    String orderNo  //订单号
    String customerLotId  //客户批次
    String lotType  //批次类型
    String productName  //产品名称
    String lotQty  //批次数量
    String requiredDate   //订单要求日期
    String bankTime //BANK库用时(H)
    String commissioningDate //投产日期
    String completeDate //完成日期
    String productionoursH //生产用时

    static mapping = {
        id generator: 'assigned'
        version false
    }

    static constraints = {
            orderNo nullable: true
            customerLotId nullable: true
            lotType nullable: true
            productName nullable: true

            lotQty nullable: true
            requiredDate nullable: true
            bankTime nullable: true
            commissioningDate nullable: true

            completeDate nullable: true
            productionoursH nullable: true
    }
}
